package com.yhg.xinyi.movie;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.yhg.xinyi.bean.movieInfoBean;

import java.util.List;

public class AddItemAdapter extends BaseAdapter {
    Context context;
    List<movieInfoBean> movieDatas;

    public AddItemAdapter(Context context, List<movieInfoBean> movieDatas) {
        this.context = context;
        this.movieDatas = movieDatas;
    }

    @Override
    public int getCount() {
        return movieDatas.size();
    }

    @Override
    public Object getItem(int position) {
        return movieDatas.get(position);
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        return null;
    }
}
